package com.net;

public class car {
    int age;
    String name;
    String type;
    public car(){

    }
    public car(int age, String name, String type) {
        this.age = age;
        this.name = name;
        this.type = type;
    }

    @Override
    public String toString() {
        return "car{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

}
